import request from '@/utils/request'

// 首页头部查询
export function getHeadList(params) {
  return request({
    url: '/admin/customerOperationHomepage/customerQuantityStatistics',
    method: 'get',
    params
  })
}


// 首页看板查询
export function getMarketingBord(params) {
    return request({
      url: '/admin/customerOperationHomepage/marketingFunctionBoard',
      method: 'get',
      params
    })
  }



  // 首页素材看板查询
export function getMarketingHomepageMultiMedia(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepageMultiMedia',
    method: 'post',
    data
  })
}
export function getMarketingHomepageArticle(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepageArticle',
    method: 'post',
    data
  })
}
export function getMarketingHomepageForm(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepageForm',
    method: 'post',
    data
  })
}
export function getMarketingHomepagePoster(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepagePoster',
    method: 'post',
    data
  })
}
export function getMarketingHomepageRisk(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepageRisk',
    method: 'post',
    data
  })
}
export function getMarketingHomepageLink(data) {
  return request({
    url: '/admin/customerOperationHomepage/marketingHomepageLink',
    method: 'post',
    data
  })
}